/**
 * 作者：陈文斌 on 2019/1/11.
 * 邮箱：chen_wennbin@163.com
 * 版本：v1.0
 */

import 'package:flutter/material.dart';
import 'package:crm/constant/constant.dart';
import 'package:crm/component/IndustryCategory/industry_category_list_section.dart';
import 'package:crm/view/AppBar/custom_app_bar.dart';

const String Title = '行业类别';

class IndustryCategoriesPage extends StatefulWidget {
  @override
  State<StatefulWidget> createState() => _IndustryCategoriesPageState();
}

class _IndustryCategoriesPageState extends State<IndustryCategoriesPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: CustomAppBar(
        title: Title,
        actions: <Widget>[
          MaterialButton(
            child: Text(
              '确定',
              style: AppStyles.actionsTitleStyle,
            ),
            onPressed: () {
              Navigator.pop(context);
            },
          )
        ],
      ),
      body: Column(
        children: <Widget>[
          IndustryCategoryListSection(),
        ],
      ),
    );
  }
}
